package org.edu.modules.sbzc.place.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-场地表
 */
@TableName("ve_sbzc_cd_info")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="场地表对象", description="ve_sbzc_cd_info")
public class VeSbzcCdInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "场地编号")
    @Length(max = 50)
    private String code;

    @TableField
    @ApiModelProperty(value = "名称")
    @Length(max = 100)
    private String name;

    @TableField
    @ApiModelProperty(value = "场地类型")
    private Integer cateId;

    @TableField
    @ApiModelProperty(value = "所属校区")
    @Length(max = 50)
    private String xqh;

    @TableField
    @ApiModelProperty(value = "占地面积")
    private Float area;

    @TableField
    @ApiModelProperty(value = "地址")
    @Length(max = 200)
    private String address;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "负责人")
    @Length(max = 36)
    private String responseUserId;

    @TableField
    @ApiModelProperty(value = "负责人")
    @Length(max = 50)
    private String responseUserName;

    @TableField
    @ApiModelProperty(value = "是否可借用（1可以，0不可以）")
    private Integer isAppliable;

    @TableField
    @ApiModelProperty(value = "删除标识0未删除，1删除")
    private Integer isDelete;
}
